package cn.itcast.ks.api;

import cn.itcast.ks.common.ResponseResult;
import cn.itcast.ks.pojo.dtos.LoginDto;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(description = "用户登录接口")
public interface LoginControllerApi {

    @ApiOperation(value = "登录")
    public ResponseResult login(LoginDto loginDto);

    @ApiOperation(value = "根据用户名查询用户类型")
    public ResponseResult findRoleByName(String name);

}
